﻿public enum DNS_TYPE
{
    TYPEx_URL = -1,
    TYPE_A = 1, /* a host address */
    TYPE_NS = 2, /* an authoritative name server */
    TYPE_MD = 3, /* a mail destination (Obsolete - use MX) */
    TYPE_MF = 4, /* a mail forwarder (Obsolete - use MX) */
    TYPE_CNAME = 5, /* the canonical name for an alias */
    TYPE_SOA = 6, /* marks the start of a zone of authority */
    TYPE_MB = 7, /* a mailbox domain name (EXPERIMENTAL) */
    TYPE_MG = 8, /* a mail group member (EXPERIMENTAL) */
    TYPE_MR = 9, /* a mail rename domain name (EXPERIMENTAL) */
    TYPE_NULL = 10, /* a null RR (EXPERIMENTAL) */
    TYPE_WKS = 11, /* a well known service description */
    TYPE_PTR = 12, /* a domain name pointer */
    TYPE_HINFO = 13, /* host information */
    TYPE_MINFO = 14, /* mailbox or mail list information */
    TYPE_MX = 15, /* mail exchange */
    TYPE_TXT = 16, /* text strings */
    TYPE_RP = 17, /* RFC1183 */
    TYPE_AFSDB = 18, /* RFC1183 */
    TYPE_X25 = 19, /* RFC1183 */
    TYPE_ISDN = 20, /* RFC1183 */
    TYPE_RT = 21, /* RFC1183 */
    TYPE_NSAP = 22, /* RFC1706 */

    TYPE_SIG = 24, /*=2535typecode */
    TYPE_KEY = 25, /*=2535typecode */
    TYPE_PX = 26, /* RFC2163 */

    TYPE_AAAA = 28, /* ipv6 address */
    TYPE_LOC = 29, /* LOC record RFC1876 */
    TYPE_NXT = 30, /*=2535typecode */

    TYPE_SRV = 33, /* SRV record RFC2782 */

    TYPE_NAPTR = 35, /* RFC2915 */
    TYPE_KX = 36, /* RFC2230 Key Exchange Delegation Record */
    TYPE_CERT = 37, /* RFC2538 */

    TYPE_A6 = 38, /* RFC2874 */

    TYPE_DNAME = 39, /* RFC2672 */

    TYPE_OPT = 41, /* Pseudo OPT record... */
    TYPE_APL = 42, /* RFC3123 */
    TYPE_DS = 43, /* RFC=4033,=4034, and=4035 */
    TYPE_SSHFP = 44, /* SSH Key Fingerprint */
    TYPE_IPSECKEY = 45, /* public static key for ipsec use. RFC=4025 */

    TYPE_RRSIG = 46, /* RFC=4033,=4034, and=4035 */
    TYPE_NSEC = 47, /* RFC=4033,=4034, and=4035 */
    TYPE_DNSKEY = 48, /* RFC=4033,=4034, and=4035 */
    TYPE_DHCID = 49, /* RFC4701 DHCP information */
    TYPE_NSEC3 = 50, /* NSEC3, secure denial, prevents zonewalking */
    TYPE_NSEC3PARAM = 51, /* NSEC3PARAM at zone apex nsec3 parameters */

    TYPE_SPF = 99, /* RFC=4408 */

    TYPE_TSIG = 250,
    TYPE_IXFR = 251,
    TYPE_AXFR = 252,
    TYPE_MAILB = 253, /* A request for mailbox-related records (MB, MG or MR) */
    TYPE_MAILA = 254, /* A request for mail agent RRs (Obsolete - see MX) */
    TYPE_ANY = 255, /* any type (wildcard) */
    TYPE_DLV = 32769, /* RFC 4431 */
}